import request from '@/utils/request'

export default {
    pageCourseList(page, size, searchObj) {
        return request({
            url: `eduservice/frontCourse/pageCourseList/${page}/${size}`,
            method: 'post',
            data: searchObj

        })
    },  
    getAllSubject() {
        return request({
            url: `/eduservice/subject/getAllSubject`,
            method: 'get',
        })
    },
    getCourseWebInfo(courseId) {
        return request({
            url: `/eduservice/frontCourse/getCourseInfo/${courseId}`,
            method: 'get',
        })
    },
    
}